/**
  SUNNY project, Anyang Normal University, IMP-CAS
  \class TATestFCI
  \brief Just to accommodate catch2 to facilitate unit test for FCI
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2022/07/20
  \date Last modified: 2022/07/20 by SUN Yazhou
  \copyright 2020-2023 SUN Yazhou
  \copyright SUNNY project, Anyang Normal University, IMP-CAS
*/

#define CATCH_CONFIG_RUNNER

#include "TATestFCI.h"
#include "config.h"
#ifdef CATCH_CNOK
#include "catch.h"
#else
#include "TAException.h"
#endif


int TATestFCI::test(int argc, char *argv[]){
#ifdef CATCH_CNOK
  return Catch::Session().run(argc, argv);
#else
  TAException::Warn("TATestFCI", "test: unittest -- catch -- not enabled");
  return -1;
#endif
} // end member function test
